home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 4
/
CU Amiga Magazine's Super CD-ROM 04 (1996)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1996-11].iso
/
xcad2000
/
hd-install
/
install-xcad2000-floppy
< prev
next >
Wrap
Text File
|
1994-02-13
|
3KB
|
137 lines
; $VER: Install XCAD 2000-Floppy V1.0 (13th February 1994) © 1994 by Ben Vost
;for NTSC machines...
(procedure NTSC
(message "Now copying files suitable for an NTSC system...")
(copyfiles
(prompt"")
(help "")
(source "Install_XCAD2000.1:screenmodes/")
(pattern "#?NTSC#?")
(dest "XCad2000:")
)
(working)
(run ("RAM:Lha -m x Install_XCAD2000.2:XCAD2k-prog_ntsc.lha XCad2000:"))
)
;for PAL machines...
(procedure PAL
(message "Now copying files suitable for a PAL system...")
(copyfiles
(prompt "")
(help "")
(source "Install_XCAD2000.1:screenmodes/")
(pattern "~(#?NTSC#?)")
(dest "XCad2000:")
)
(working)
(run ("RAM:Lha -m x Install_XCAD2000.1:XCAD2k-prog.lha XCad2000:"))
)
; ask where to install X-CAD 2000
(message "Before you can install XCad to floppy, you will need four"
" floppy disks named XCad2000, XCad2000-2, XCad2000-3 and"
" XCad2000-4.")
(copyfiles
(prompt "")
(help "")
(source "Install_XCAD2000.1:c/install")
(dest "RAM:")
)
(copyfiles
(prompt "")
(help "")
(source "Install_XCAD2000.1:c/lha")
(dest "RAM:")
)
(askdisk "XCad2000"
(prompt "Please insert the disk named XCad2000 in drive df0...")
(help @askdisk-help)
(dest "XCad2000")
)
(message "Please make sure the XCad2000 disk is in drive df0:")
(run ("RAM:install df0:"))
;setting the disk up as Workbench...
(makedir "XCad2000:empty")
(makedir "XCad2000:drawings"(infos))
(makedir "XCad2000:symbols")
(working "Setting up system disk now...")
(run ("RAM:Lha -m x Install_XCAD2000.1:XCAD2k-1.lha XCad2000:"))
(set vblank (database "vblank"))
(if (= vblank "60")
(NTSC)
(PAL)
)
(complete 20)
;start installing XCAD 2000
(set XCDir "XCad2000-2:")
(askdisk XCAD2000-2
(prompt "Please insert the disk named XCad2000-2 in any drive...")
(help @askdisk-help)
(dest "XCad2000-2")
)
(working "Installing first block of files now...")
(run ("RAM:Lha -m x Install_XCAD2000.1:XCAD2k-2.lha XCad2000-2:"))
(complete 40)
(set XCDir "XCad2000-3:")
(askdisk XCAD2000-3
(prompt "Please insert the disk named XCad2000-3 in any drive...")
(help @askdisk-help)
(dest "XCad2000-3")
)
(working "Installing second block of files now...")
(run ("RAM:Lha -m x Install_XCAD2000.2:XCAD2k-3.lha XCad2000-3:"))
(complete 60)
(set XCDir "XCad2000-4:")
(askdisk XCAD2000-4
(prompt "Please insert the disk named XCad2000-4 in any drive...")
(help @askdisk-help)
(dest "XCad2000-4")
)
(run ("RAM:Lha -m x Install_XCAD2000.2:XCAD2k-4.lha XCad2000-4:")
(prompt "Would you like to install the tutorial files?\n"
"(If you SKIP THIS PART, you won't need the 4th disk.)")
(help "")
(confirm)
)
(complete 90)
(if (= 1 (exists "RAM:lha"))
(delete "RAM:lha")
)
(if (= 1 (exists "RAM:install"))
(delete "RAM:install")
)
(Complete 100)
(set XCDir "XCad2000:")
(set @default-dest XCDir)
(exit"You will need to reboot before you can use \nX-CAD 2000.\n")